package com.xiongda.pojo;

import java.util.Date;

/**
 * 博客子类
 * @author 缪琼
 */
public class BlogWithBLOBs extends Blog {
    private String content;// 正文内容

    private String commentIds;// 评论ids

    public BlogWithBLOBs(Long id, Long userId,Long categoryId, String title, Date createTime, Date updateTime, Integer editCount, Integer delFlag, Integer praise, Integer readCount, Integer backgroundStyle, Integer isComment, String content, String commentIds) {
        super(id, userId, categoryId, title, createTime, updateTime, editCount, delFlag, praise, readCount, backgroundStyle, isComment);
        this.content = content;
        this.commentIds = commentIds;
    }

    public BlogWithBLOBs() {
        super();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getCommentIds() {
        return commentIds;
    }

    public void setCommentIds(String commentIds) {
        this.commentIds = commentIds == null ? null : commentIds.trim();
    }
}